from compressor.compressor import Compressor
import zlib

class Ziper(Compressor):
    def __init__(self):
        pass

    def Compress(self, data: bytes)->bytes:
        return zlib.compress(data)

    def Decompress(self, data: bytes)->bytes:
        return zlib.decompress(data)